package entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class HService implements Serializable {

  private Integer id;
  private String type;
  private String general;
  private Integer customer_Id;
  private String emergency;
  private String phone_Number;
  private String status;
  private String request;
  private Integer creator;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date create_Date;
  private String handle_Content;
  private Integer handler;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date handler_Time;
  private String handle_Result;
  private String degree;
  private Integer delete_Status;
  //关联客户表
  private Customer customer;
  //关联用户表
  private Users users;

  @Override
  public String toString() {
    return "Service{" +
            "id=" + id +
            ", type='" + type + '\'' +
            ", general='" + general + '\'' +
            ", customer_Id=" + customer_Id +
            ", emergency='" + emergency + '\'' +
            ", phone_Number='" + phone_Number + '\'' +
            ", status='" + status + '\'' +
            ", request='" + request + '\'' +
            ", creator=" + creator +
            ", create_Date=" + create_Date +
            ", handle_Content='" + handle_Content + '\'' +
            ", handler=" + handler +
            ", handler_Time=" + handler_Time +
            ", handle_Result='" + handle_Result + '\'' +
            ", degree='" + degree + '\'' +
            ", delete_Status=" + delete_Status +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getGeneral() {
    return general;
  }

  public void setGeneral(String general) {
    this.general = general;
  }

  public Integer getCustomer_Id() {
    return customer_Id;
  }

  public void setCustomer_Id(Integer customer_Id) {
    this.customer_Id = customer_Id;
  }

  public String getEmergency() {
    return emergency;
  }

  public void setEmergency(String emergency) {
    this.emergency = emergency;
  }

  public String getPhone_Number() {
    return phone_Number;
  }

  public void setPhone_Number(String phone_Number) {
    this.phone_Number = phone_Number;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getRequest() {
    return request;
  }

  public void setRequest(String request) {
    this.request = request;
  }

  public Integer getCreator() {
    return creator;
  }

  public void setCreator(Integer creator) {
    this.creator = creator;
  }

  public Date getCreate_Date() {
    return create_Date;
  }

  public void setCreate_Date(Date create_Date) {
    this.create_Date = create_Date;
  }

  public String getHandle_Content() {
    return handle_Content;
  }

  public void setHandle_Content(String handle_Content) {
    this.handle_Content = handle_Content;
  }

  public Integer getHandler() {
    return handler;
  }

  public void setHandler(Integer handler) {
    this.handler = handler;
  }

  public Date getHandler_Time() {
    return handler_Time;
  }

  public void setHandler_Time(Date handler_Time) {
    this.handler_Time = handler_Time;
  }

  public String getHandle_Result() {
    return handle_Result;
  }

  public void setHandle_Result(String handle_Result) {
    this.handle_Result = handle_Result;
  }

  public String getDegree() {
    return degree;
  }

  public void setDegree(String degree) {
    this.degree = degree;
  }

  public Integer getDelete_Status() {
    return delete_Status;
  }

  public void setDelete_Status(Integer delete_Status) {
    this.delete_Status = delete_Status;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public Users getUsers() {
    return users;
  }

  public void setUsers(Users users) {
    this.users = users;
  }
}
